package cn.com.thingo.shyintelligent.base.contract;

import cn.com.thingo.shyintelligent.base.BasePresenter;
import cn.com.thingo.shyintelligent.base.BaseView;
import cn.com.thingo.shyintelligent.model.bean.CommonBean;
import cn.com.thingo.shyintelligent.model.bean.UserBean;
import okhttp3.MultipartBody;
import okhttp3.RequestBody;

public interface PersonalContract {
    interface View extends BaseView {
        void viewUser(UserBean userBean);

        void viewModifyHead(CommonBean commonBean);

    }

    interface Presenter extends BasePresenter<View> {
        void getUser(String token);

        void modifyHead(RequestBody token, MultipartBody.Part headPic);

    }
}
